package com.cdxy.model.dto.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @Author: tangy
 * @Date: 2020/2/23 18:24
 */
@Data
@ApiModel
public class LoginEmailCodeReq implements Serializable {

    private static final long serialVersionUID = 5607544179550594499L;

    @ApiModelProperty(value = "邮箱号", required = true)
    @NotBlank(message = "邮箱号不能为空")
    private String email;

    @ApiModelProperty(value = "邮箱验证码", required = true)
    @NotBlank(message = "邮箱验证码不能为空")
    private String emailCode;
}
